﻿using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;

namespace GroupTwo_MVC.Controllers
{
    public class OrderMementController : Controller
    {
        private readonly IConfiguration _configuration;

        public OrderMementController(IConfiguration configuration)
        {
            _configuration = configuration;
        }
        /// <summary>
        /// 采购订单列表
        /// </summary>
        /// <returns></returns>
        public IActionResult ShowMement()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        /// <summary>
        /// 采购订单新增  
        /// </summary>
        /// <returns></returns>
        public IActionResult AddMement()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }

        /// <summary>
        /// 采购订单新增  
        /// </summary>
        /// <returns></returns>
        public IActionResult mapps()
        {
            return View();
        }
        /// <summary>
        /// 采购订单详情页面
        /// </summary>
        /// <returns></returns>
        public IActionResult PurchaseOrderDetail()
        {
            return View();
        }

        #region

        #endregion
    }
}
